/**
 * 功能:TK_SELL_LINE Service类
 * 开发人员:chengd
 * 创建时间:2012-05-07 21:41:58
 */
package com.towker.frame.service.sell;

import org.springframework.stereotype.Service;
import com.towker.core.db.EntityDao;
import com.towker.core.db.BaseService;
import com.towker.frame.model.sell.SellLine;
import com.towker.frame.dao.sell.SellLineDao;

@Service
public class SellLineService extends BaseService<SellLine, java.lang.Long>
{
	private SellLineDao dao;
	
	public void setSellLineDao(SellLineDao dao)
	{
		this.dao = dao;
	}

	@SuppressWarnings("unchecked")
	@Override
	protected EntityDao getEntityDao()
	{
		return this.dao;
	}

	public boolean checkExistsCode(String line_code, Integer id) {
		return dao.checkExistsCode(line_code, id);
	}
}
